[
		"req;steps,status",
		[
				[ "fetch:vars,url,charset,body,cookiesIn;dom", "@req",
						"http://www.kd185.com/ems-china.php", "gbk",
						"vven=${mailNo}&code=${captchaCode}", "@req.cookies",
						"@domResultPage" ],
				[
						"cssQuery:domIn,query;domOut",
						"@domResultPage",
						"td.border-track-batch > table:eq(3) > tbody > tr:gt(0)",
						"@domTable" ],
				[ "domAsTable:dom,schema,rowQuery,cellQuery;table",
						"@domTable", "rawDate,address,remark", "", ">td:gt(0)",
						"@rawTable" ],
				[ "split:list,sepr,max;table", "@rawTable.rawDate",
						"\\s{3}(?=\\d)", 2, "@rawDateTable" ],
				[ "trim:listIn;listOut", "@rawDateTable.col0",
						"@rawDatePart0List" ],
				[ "extension:listIn;listOut", "@rawDatePart0List",
						"@datePart0List" ],
				[ "concat:c0,c1,c2;col", "@datePart0List", " ",
						"@rawDateTable.col1", "@dateStrings" ],
				[ "date:dateStrings,format;dates", "@dateStrings",
						"yyyy-M-d H:m:s", "@dates" ],
				[ "concat:c0,c1,c2;col", "@rawTable.address", " / ",
						"@rawTable.remark", "@remarks" ],
				[ "map:date,remark;table", "@dates", "@remarks", "@steps" ],
				[ "cssQuery:domIn,query;domOut", "@domResultPage",
						"td[valign=middle][height=150]", "@jMessage" ],
				[ "singleMap:jMessage,domTable;map", "@jMessage", "@domTable",
						"@statusMap" ],
				[
						"velocity:context,template;text",
						"@statusMap",
						"#if($domTable.size()>0)#set($status='success')#elseif($jMessage.size()>0)#set($msg=$jMessage.get(0).ownText())#if($msg.indexOf('校验查询标准失败')>=0||$msg.indexOf('查询标志丢失')>=0)#set($status='invalid_captcha_session')#elseif($msg.indexOf('图片验证码校验失败')>=0||$msg.indexOf('请输入校验码')>=0)#set($status='incorrect_captcha')#elseif($msg.indexOf('无查询邮件信息')>=0||$msg.indexOf('正确的13位EMS邮件号码'))#set($status='mail_not_found')#else#set($status='unknown_error')#end#else#set($status='unexpected_format')#end${status}",
						"@status" ] ] ];
